[INFO] fetching crate buildkit-rs 0.1.0...
[INFO] checking buildkit-rs-0.1.0 against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] extracting crate buildkit-rs 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate buildkit-rs 0.1.0 on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate buildkit-rs 0.1.0
[INFO] finished tweaking crates.io crate buildkit-rs 0.1.0
[INFO] tweaked toml for crates.io crate buildkit-rs 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate buildkit-rs 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-trait v0.1.67
[INFO] [stderr]   Downloaded tonic-build v0.8.4
[INFO] [stderr]   Downloaded buildkit-rs-llb v0.1.0
[INFO] [stderr]   Downloaded tonic v0.8.3
[INFO] [stderr]   Downloaded prost-build v0.11.8
[INFO] [stderr]   Downloaded buildkit-rs-util v0.1.0
[INFO] [stderr]   Downloaded buildkit-rs-proto v0.1.0
[INFO] [stderr]   Downloaded buildkit-rs-reference v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3384c51fd2d4fecc7f144a1f44e0f84bdb4522cc03b80f03313e64b508a8a56f
[INFO] running `Command { std: "docker" "start" "-a" "3384c51fd2d4fecc7f144a1f44e0f84bdb4522cc03b80f03313e64b508a8a56f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3384c51fd2d4fecc7f144a1f44e0f84bdb4522cc03b80f03313e64b508a8a56f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3384c51fd2d4fecc7f144a1f44e0f84bdb4522cc03b80f03313e64b508a8a56f", kill_on_drop: false }`
[INFO] [stdout] 3384c51fd2d4fecc7f144a1f44e0f84bdb4522cc03b80f03313e64b508a8a56f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31e85822d3005eeb571644b07dd8f6348f047608c7f346ba26934b7e9e506c82
[INFO] running `Command { std: "docker" "start" "-a" "31e85822d3005eeb571644b07dd8f6348f047608c7f346ba26934b7e9e506c82", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling anyhow v1.0.70
[INFO] [stderr]    Compiling tokio v1.26.0
[INFO] [stderr]    Compiling futures-task v0.3.27
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling proc-macro2 v1.0.52
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling futures-util v0.3.27
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling io-lifetimes v1.0.9
[INFO] [stderr]    Compiling syn v2.0.8
[INFO] [stderr]     Checking mio v0.8.6
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]    Compiling rustix v0.36.11
[INFO] [stderr]     Checking futures-sink v0.3.27
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling futures-channel v0.3.27
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling async-trait v0.1.67
[INFO] [stderr]    Compiling serde v1.0.158
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]    Compiling petgraph v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling axum-core v0.3.3
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking generic-array v0.14.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling regex v1.7.3
[INFO] [stderr]    Compiling axum v0.6.12
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking matchit v0.7.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.94
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]    Compiling tempfile v3.4.0
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking shlex v1.1.0
[INFO] [stderr]     Checking buildkit-rs-util v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling prost-derive v0.11.8
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling async-stream-impl v0.3.4
[INFO] [stderr]     Checking thiserror v1.0.40
[INFO] [stderr]     Checking buildkit-rs-reference v0.1.0
[INFO] [stderr]     Checking async-stream v0.3.4
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]    Compiling prost v0.11.8
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking prost-types v0.11.8
[INFO] [stderr]    Compiling prost-build v0.11.8
[INFO] [stderr]    Compiling tonic-build v0.8.4
[INFO] [stderr]     Checking tokio-util v0.7.7
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.12
[INFO] [stderr]    Compiling buildkit-rs-proto v0.1.0
[INFO] [stderr]     Checking h2 v0.3.16
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking hyper v0.14.25
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.8.3
[INFO] [stderr]     Checking buildkit-rs-llb v0.1.0
[INFO] [stderr]     Checking buildkit-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn go_build_base() -> State {
[INFO] [stdout]    |                       ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs::llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs_llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn runc(version: &str) -> State {
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs::llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs_llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn containerd(version: &str) -> State {
[INFO] [stdout]    |                                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs::llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs_llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BuildOpt` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn buildkit(opt: &BuildOpt) -> State {
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn buildkit(opt: &BuildOpt) -> State {
[INFO] [stdout]    |                                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs::llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs_llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn copy(src: State, src_path: &str, dest: State, dest_path: &str) -> State {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs::llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs_llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:81:43
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn copy(src: State, src_path: &str, dest: State, dest_path: &str) -> State {
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs::llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs_llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `State` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:81:70
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn copy(src: State, src_path: &str, dest: State, dest_path: &str) -> State {
[INFO] [stdout]    |                                                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs::llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use buildkit_rs_llb::state::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `build_opt` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:6:15
[INFO] [stdout]    |
[INFO] [stdout] 6  |     let opt = build_opt();
[INFO] [stdout]    |               ^^^^^^^^^ help: a function with a similar name exists: `buildkit`
[INFO] [stdout] ...
[INFO] [stdout] 44 | fn buildkit(opt: &BuildOpt) -> State {
[INFO] [stdout]    | ------------------------------------ similarly named function `buildkit` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `image` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     image("docker.io/library/golang:1.20-alpine")
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shlex` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:55:29
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let buildkitd = src.run(shlex("go build -o /bin/buildkitd ./cmd/buildkitd"));
[INFO] [stdout]    |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shlex` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let buildctl = src.run(shlex("go build -o /bin/buildctl ./cmd/buildctl"));
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `image` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let mut r = image("docker.io/library/alpine:latest");
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `image` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let cp_image = image("docker.io/library/alpine:latest");
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shlex` in this scope
[INFO] [stdout]   --> examples/buildkit0.rs:83:27
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let cp = cp_image.run(shlex(format!("cp -a /src{src_path} /dest{dest_path}",)));
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `buildkit-rs` (example "buildkit0") due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "31e85822d3005eeb571644b07dd8f6348f047608c7f346ba26934b7e9e506c82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31e85822d3005eeb571644b07dd8f6348f047608c7f346ba26934b7e9e506c82", kill_on_drop: false }`
[INFO] [stdout] 31e85822d3005eeb571644b07dd8f6348f047608c7f346ba26934b7e9e506c82
